#pragma once
#include <string>
#include <MeshlessSkinning/SmoothingGrid.h>
#include <MeshlessSkinning/SlUtil.h>

namespace GeoLeo{

class MeshlessSkinning{
public:
    static void levelSetSkinning(const std::string& infname, const std::string& outfname, double resolution, double max_min_ratio, int flags);

    static void dumpSurfaceToObj(const std::string& outfname, SmoothingGrid& grid, double shrink);

    static void constructNormals(std::vector<SlVector3>& normals, std::vector<SlVector3>& vertices, std::vector<SlTri>& faces);
};

}